package com.tsing.tsingfengmall.common.rest.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 返回结果状态码枚举类
 *
 * @author TheTsing
 */
@Getter
@AllArgsConstructor
public enum ResponseCode {

    SUCCESS(0, "success"),

    SERVER_ERROR(600, "系统错误");

    private final int code;

    private final String description;

}
